//Test of the sync, control, and sweepstakes classes.
/*
#include "Time.h"
#include "Customer_Obj.h"
#include "queue.h"
#include "sync.h"
#include "control.h"
#include "sweeps.h"
#include <iostream>
using namespace std;

int main(){
    sync sync_item;
    cout << "Sync completed..." << endl;
    //system("PAUSE");
    control control_item;
    cout << "Control completed..." << endl;
    //system("PAUSE");
    sync *syncP = &sync_item;
    control *contP = &control_item;
    cout << "Pointers completed..." << endl;
    //system("PAUSE");
    sweeps sweepstakes_item(syncP, contP);
    cout << "Sweepstakes completed..." << endl;
    //system("PAUSE");
    
    for(int i = 0; i < 1440; i++){
            sync_item.sync_time(i);
            sweepstakes_item.add2queue();            
    }
    
    int lsize = sweepstakes_item.line_size();
    cout << lsize << endl;
    for(int j = 0; j < lsize; j++){
            Customer_Obj useless_cust;
            useless_cust = sweepstakes_item.register_dequeue();
    }
            
    
    string winner = sweepstakes_item.draw_winner();
    
    cout << winner << endl;
            
    

    system("PAUSE");
    return(0);
    
}
*/
